#include <iostream>
#include "stake.h"

using namespace std;

int main(void)
{
    Stake stake;
    int tmp;
    stake.push(3);
    stake.push(5);
    while(stake.pop(tmp))
    {
        cout<<tmp<<endl;
    }
    return 0;
}
